What about: itemsInCart.AsEnumerable().Sum(o=>o.Price);. AsEnumerable makes the difference, this query will execute locally (Linq To ... ... <看更多>
Search
Search
What about: itemsInCart.AsEnumerable().Sum(o=>o.Price);. AsEnumerable makes the difference, this query will execute locally (Linq To ... ... <看更多>